import { serverBase } from '@/axios/index';


/**
 * 登录授权
 */

/**
 * 文件下载
 * @param data
 * @returns {Promise<void>}
 */
export const postFileDown = (data = {}) => serverBase.fetchFile('/sys/file/v1/download', data, { loading: true });

/**
 * 文件上传
 * @param data
 * @returns {Promise<void>}
 */
export const postFileUpload = (data = {}) => serverBase.postForm('/sys/file/v1/upload', data, { loading: true });


    

 



